/* 公共样式 */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
li {
    list-style: none;
}
body {
    font-family: "微软雅黑", Arial, Helvetica, sans-serif;
    font-size: 16px;
    background-color: #f5f5f5;
}
.fl {
    float: left;
}
.fr {
    float: right;
}
a {
    color: #333;
    text-decoration: none;
}
/* 版心宽度 */
.w {
    width: 1200px;
    margin: 10px auto;
}
/* 头部 */
header {
    width: 1200px;
    margin: 0 auto;
    padding-top: 20px;
    overflow: hidden;
}
header a {
    color: #404042;
    line-height: 80px;
}
header a:hover {
    color: #da5454;
}
nav {
    width: 100%;
    height: 63px;
    background: #3a3c3b;
    margin-top: 15px;
    border-bottom: 3px solid #c00014;
}

nav li {
    float: left;
}

nav li a {
    display: block;
    line-height: 60px;
    padding: 0 50px;
    color: #ccc;
    text-decoration: none;
    opacity: 0.1;
    transition: all 1s;
}
nav li.current a{
    opacity: 1;
}

nav li.current,
nav a:hover {
    opacity: 1;
    position: relative;
    background-color: #000;
    color: #fff;
}

nav a:hover::before,
nav li.current::before {
    content: '';
    display: inline-block;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 10px;
    background: url(../images/topbar1.png) no-repeat;
    background-position: -212px -140px;
}
/* 页脚样式 */
.footer {
    width: 100%;
    height: 80px;
    background: #191919;
    text-align: center;
    padding-top: 30px;
    color: white;
    padding: 20px;
}
.footer p {
    line-height: 30px;
    font-size: 14px;
}